package com.lanmaoly.functiont;

import java.util.function.Function;

public class Test {

    public static void main(String[] args) {
        Function<String, Integer> function = Integer::valueOf;
        Integer apply = function.apply("123");
        System.out.println(apply);
    }
}
